<?php


namespace app\admin\controller;


use app\api\controller\v1\common;
use think\Controller;

class Phone extends Controller
{
    public function click()
    {
        # 渲染手机页面
        $common = new common();
        $data = $common->click_num();
        $this->assign([
            'click' => $data['click'],
            'today' => $data['today']
        ]);
        return $this->fetch('click/phone_click');
    }

    public function open()
    {
        # 渲染手机页面
        $common = new common();
        $data = $common->open_num();
        $this->assign([
            'open' => $data['open'],
            'today' => $data['today']
        ]);
        return $this->fetch('click/phone_open');
    }
}